#ifndef UILABEL_H_
#define UILABEL_H_

#include "UIControl.h"
#include "StringSplitter.h"

class UILabel : public UIControl
{
public:
	UILabel();
	virtual ~UILabel();
	
public:  //from IUIControl
	void Layout(TRect rc);
	void Draw(CGraphicsContext& aGc);
	TSize GetMinimumSize();
	void GetTagName(TDes8& aDes);
	void SetPropertyL(const TDesC& aProperty,const TDesC& aValue);
public: //from UIControl
	TSize GetControlSizeL();
	
public:
	void SetTextL(const TDesC& aDes);
private:
	HBufC* iLabelText;
	CStringSplitter* iStringSplitter;
};

#endif /*UILABEL_H_*/
